//
//  CZHomeTitleButton.swift
//  01-sinaWeibo-05-09
//
//  Created by mac on 16/5/20.
//  Copyright © 2016年 mac. All rights reserved.
//
import UIKit

class CZHomeTitleButton: UIButton {
    
    override func layoutSubviews() {
        super.layoutSubviews()
        //将文字的frame.origin.x = 0
        titleLabel?.frame.origin.x = 0
        //将图片的frame.origin.x
        imageView?.frame.origin.x = (titleLabel?.frame.width)! + 3
    }
    

}
